package movie.mapper;

import java.util.List;

import movie.entity.CinemaName;

public interface CinemaNameMapper {
	int findByCinemaNameToCinemaId(String cinemaName);

	String findByCinemaIdToCinemaName(int cinemaId);
	
	CinemaName findByLoginName(String cname);

	
	List<String> findAllCinemaName();

	/**
	 * 返回所有影院信息
	 * @return
	 */
	List<CinemaName> findAllCinema();
	/**
	 * 通过cinemaId查找cinema信息
	 * @param cinemaId
	 * @return
	 */
	CinemaName findCinema(int cinemaId);

}
